#ifndef SLIDE_RACK_PLATFORM_HPP 
#define SLIDE_RACK_PLATFORM_HPP 

#include "Slaves/Motorized/RoboticPrototype.hpp"
#include <vector>
#include <string>

// use the callback
//#include"UniversalMaster.hpp"

struct SlideRackPlatformSlave :RoboticSlave {
public:
	struct RackConfig {
		// just hint
		char transporterHrzAxis = 'x';
		char rackAxis = 'y';
		char transporterVtcAxis = 'z';
		//bool logSerial;
	}_rackConfig;

	SlideRackPlatformSlave();
	~SlideRackPlatformSlave();

	std::string getCommBuffer();

	int moveRack(int rackIndex, float mm);

	int moveTransporterX(float mm);
	int moveTransporterZ(float mm);

	float getTransporterStatusByName(const char* name);



	//void simuUpdate();
};


#endif